<template>
	<view class="notice-details bgcolor1 p-2 m-h100">
		<view class="fs-40 font-weight-bold ftcolor1 pt-4 pb-2 text-center">{{curdetails.title}}</view>
		<view class="fs-24 ftcolor1 flex ftcolor4 mb-2">
			<text class="mr-2">作者：{{curdetails.release_admin.name}}</text>
			<text>部门：{{curdetails.department.name}}</text>
		</view>
		<view class="fs-28 ftcolor3"  style="line-height: 25px;" v-html="curdetails.info"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				curdetails:{}
			}
		},
		created() {
			const curdetails = uni.getStorageSync('curdetails')
			if(curdetails){
				uni.setNavigationBarTitle({
					title: curdetails.title + '-详情'
				});
				this.curdetails = curdetails
			}
		},
		methods: {

		}
	}
</script>

<style>

</style>